import Immutable from 'immutable';

const defaultState = new Immutable.List();

export default function loginReducer(state = defaultState, action) {
  switch(action.type) {
    case 'IS_LOGIN':
      return action.isLogin;
    default:
      return false;
  }
}
